#include <math.h>
#include <stdio.h>

int main(int argc, char *argv[])
{

    double a, b, c, deta = 0, x1 = 0, x2 = 0;
    scanf("%lf %lf %lf", &a, &b, &c);

    deta = pow(b, 2) - 4 * a * c;

    if (deta > 0)
    {
        x1 = (-b + sqrt(pow(b, 2) - 4 * a * c)) / (2 * a);
        x2 = (-b - sqrt(pow(b, 2) - 4 * a * c)) / (2 * a);
        printf("%.2f %.2f", x1, x2);
    }
    else if (deta == 0)
    {
        x1 = x2 = -b / 2 * a;
        printf("%.2f %.2f", x1,x2);
    }
    else
    {
        x1 = (-b + sqrt(4 * a * c - pow(b, 2))) / (2 * a);
        x2 = (-b - sqrt(4 * a * c - pow(b, 2))) / (2 * a);
        printf("%.2fi %.2fi", x1, x2);
    }

    return 0;
}